let http = require('http')

function onRequest(request, response){
  response.writeHead(200,{"Content-Type": "application/json"})
  response.write("Hello World")
  response.end()
}

http.createServer(onRequest).listen(8888)